<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Configuring Domain Name Resolution (Applicable to OpenStack)">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000001839189341">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Configuring Domain Name Resolution (Applicable to OpenStack)</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000001839189341"></a><a name="EN-US_TOPIC_0000001839189341"></a>
  <h1 class="topictitle1"><span>Configuring Domain Name Resolution (Applicable to OpenStack)</span></h1>
  <div>
   <p>You must add domain name resolution of each OpenStack service to the agent host for normal communication between the host and OpenStack. If the OpenStack community edition is used, skip this section.</p>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Obtain domain name resolution information of each OpenStack service.</span><p></p>
      <ol type="a">
       <li>Use a browser to log in to FusionSphere OpenStack OM.</li>
       <li>Choose <strong>Resources</strong> &gt; <strong>Configuration</strong> from the navigation pane.</li>
       <li>Click the <span class="uicontrol"><b>Services</b></span> tab to obtain the domain names of the nova, keystonev3, cinder, and neutron services. <a href="#EN-US_TOPIC_0000001839189341__table12486184224719">Table 1</a> shows an example. 
        <div class="tablenoborder">
         <a name="EN-US_TOPIC_0000001839189341__table12486184224719"></a><a name="table12486184224719"></a>
         <table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001839189341__table12486184224719" frame="border" border="1" rules="all">
          <caption>
           <b>Table 1 </b>Example of obtaining domain names
          </caption>
          <colgroup>
           <col style="width:25.19%">
           <col style="width:74.81%">
          </colgroup>
          <thead align="left">
           <tr>
            <th align="left" class="cellrowborder" valign="top" width="25.19%" id="mcps1.3.2.2.1.2.1.3.3.2.3.1.1"><p>Service Name</p></th>
            <th align="left" class="cellrowborder" valign="top" width="74.81%" id="mcps1.3.2.2.1.2.1.3.3.2.3.1.2"><p>Access Address</p></th>
           </tr>
          </thead>
          <tbody>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>nova</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>compute.az236.dc236.test.com</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>keystonev3</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>identity.az236.dc236.test.com</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>cinderv3</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>volume.az236.dc236.test.com</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>neutron</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>network.az236.dc236.test.com</p></td>
           </tr>
          </tbody>
         </table>
        </div></li>
      </ol> <p></p></li>
     <li><span>Use PuTTY to log in to the agent host.</span></li>
     <li><span>Open the <strong>hosts</strong> file of the agent host and add the obtained domain name resolution to the file. The format is as follows:</span><p></p><pre class="screen"><em>IP address of the reverse proxy of the external_api plane</em>   <em>Domain name</em></pre> <p>Example:</p> <pre class="screen">192.168.10.10    compute.az236.dc236.test.com
192.168.10.10    identity.az236.dc236.test.com
192.168.10.10    volume.az236.dc236.test.com
192.168.10.10    network.az236.dc236.test.com</pre> <p></p></li>
    </ol>
   </div>
  </div>
 </body>
</html>